@import "base";

.page-content {
  @include mt(100);
  text-align: center;
  h1 {
    color: $base-color;
    @include fs(38);
  }
}

.nav-footer {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
  @include h(98);
  background: $tab-general-bg-color;
  display: block;

  footer {
    font-size: 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #f8f8f8;
    @include pt(10);
    line-height: 1.2;
    width: 100%;
    @include h(98);
    display: flex;

    a {
      text-decoration: none;
      color: $base-font-color;
      -webkit-box-flex: 1;
      -moz-box-flex: 1;
      -webkit-flex: 1;
      -ms-flex: 1;
      flex: 1;
      text-align: center;
      box-sizing: border-box;
      display: block;
      @include fs(22);

      .tab-0,
      .tab-1,
      .tab-2,
      .tab-3 {
        display: inline-block;
        @include h(42);
        @include w(42);
        background-size: cover;
      }

      .tab-0 {
        background-image: url("~image/imgs/index-noselect.svg");
      }

      .tab-1 {
        background-image: url("~image/imgs/note-noselect.svg");
      }

      .tab-2 {
        background-image: url("~image/imgs/print-noselect.svg");
      }

      .tab-3 {
        background-image: url("~image/imgs/dy-noselect.svg");
      }

      &:hover {
        text-decoration: none;
      }

      &.router-link-active.active {
        .tab-0 {
          background-image: url("~image/imgs/index-select.svg");
        }

        .tab-1 {
          background-image: url("~image/imgs/note-select.svg");
        }

        .tab-2 {
          background-image: url("~image/imgs/print-select.svg");
        }

        .tab-3 {
          background-image: url("~image/imgs/dy-select.svg");
        }
      }
    }

    p {
      margin: 0;
    }
  }
}
